import fetch from '@/api'

// 内转车列表
export function getInternalCarPool(params) {
    return fetch({
        method: 'get',
        url: `/internalCarPool/lists`,
        params,
    })
}

// 添加内转车
export function addInternalCarPool(data) {
    return fetch({
        method: 'post',
        url: `/internalCarPool`,
        data,
    })
}
//删除内转车
export function deleteInternalCarPool(id) {
    return fetch({
        method:'delete',
        url:`/internalCarPool/${id}`,
    })
}